﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DataTier;
using BusinessTier;

namespace ElectricCarService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IElectricCarService
    {
        [OperationContract]
        Customer Login(int customerId, string password);
        [OperationContract]
        Route FindPath(Location start, Location to);
        [OperationContract]
        IList<Location> GetAllLocations();
        [OperationContract]
        bool AddReservation(Customer customer, Route route);
        [OperationContract]
        IList<Reservation> GetReservations(Customer customer);
        [OperationContract]
        void RemoveReservation(Reservation reservation);
        [OperationContract]
        IList<Station> GetAllStations();
    }

}
